import {createBrowserRouter} from "react-router";


import Home from "./pages/home";
import App from "./App.tsx";
import UserCenter from "./pages/userCenter.tsx";
import Note from "./pages/note.tsx";
export default createBrowserRouter([
    {
        path: "/",
        Component: App,
        children: [{
            path: "/home",
            Component: Home,
        },{
            path: "/userCenter",
            Component: UserCenter,
        },{
            path: "/note",
            Component: Note
        }]
    },{
        path: "/login",
        Component: Home,
    }
])